#pragma once

#include "IReportHandler.h"

class CExcelHandler: public IReportHandler
{
public:
	CExcelHandler(void);
	~CExcelHandler(void);

public:
	virtual int WriteReport(const ReportData& Data);
	
private:
	void ReadFromExcel();
	string GetExcelDriver();
	string MakeExcelHeader(const vector<ReportHeader>& headers);
	string MakeExcelData(const vector<ReportHeader>& headers, const ReportContent& contents);
	
};
